[INFO] fetching crate dtor 1.0.5...
[INFO] fixing dtor-1.0.5 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate dtor 1.0.5 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate dtor 1.0.5
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate dtor 1.0.5
[INFO] tweaked toml for crates.io crate dtor 1.0.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dtor 1.0.5 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate dtor 1.0.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 348ec8b93124bf4151a8c1b9011ac465ad2f92f2148fd6d99962cc96c13cd057
[INFO] running `Command { std: "docker" "start" "348ec8b93124bf4151a8c1b9011ac465ad2f92f2148fd6d99962cc96c13cd057", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "348ec8b93124bf4151a8c1b9011ac465ad2f92f2148fd6d99962cc96c13cd057" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "348ec8b93124bf4151a8c1b9011ac465ad2f92f2148fd6d99962cc96c13cd057", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "348ec8b93124bf4151a8c1b9011ac465ad2f92f2148fd6d99962cc96c13cd057" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]     Checking winnow v1.0.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]     Checking glob v0.3.3
[INFO] [stderr]     Checking serde_spanned v1.1.1
[INFO] [stderr]     Checking toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]    Compiling linktime-proc-macro v0.2.0
[INFO] [stderr]     Checking libc-print v0.5.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking dtor v1.0.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]     Checking toml v1.1.2+spec-1.1.0
[INFO] [stderr]        Fixed src/native.rs (2 fixes)
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking macrotest v1.2.1
[INFO] [stderr]     Checking trybuild v1.0.116
[INFO] [stderr]    Migrating src/example.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.98s
[INFO] [stderr] crater-edition-check: dtor v1.0.5 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking dtor v1.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/example.rs:7:1
[INFO] [stdout]     |
[INFO] [stdout]   7 | #[dtor(unsafe)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::__dtor_parse_impl` which comes from the expansion of the attribute macro `dtor` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/parse.rs:395:15
[INFO] [stdout]     |
[INFO] [stdout] 395 |             #[unsafe(link_section =) $link_section]
[INFO] [stdout]     |               +++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/example.rs:12:1
[INFO] [stdout]     |
[INFO] [stdout]  12 | #[dtor(unsafe, method = at_module_exit)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::__dtor_parse_impl` which comes from the expansion of the attribute macro `dtor` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/parse.rs:447:15
[INFO] [stdout]     |
[INFO] [stdout] 447 |             #[unsafe(link_section =) $ctor_link_section]
[INFO] [stdout]     |               +++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/example.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout]  20 | #[dtor(method = at_binary_exit)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::__dtor_parse_impl` which comes from the expansion of the attribute macro `dtor` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/parse.rs:447:15
[INFO] [stdout]     |
[INFO] [stdout] 447 |             #[unsafe(link_section =) $ctor_link_section]
[INFO] [stdout]     |               +++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/example.rs:27:42
[INFO] [stdout]     |
[INFO] [stdout]  27 | #[cfg_attr(not(target_vendor = "apple"), dtor(unsafe, method = linker, link_section = ".manual.dtor"))]
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::__dtor_parse_impl` which comes from the expansion of the attribute macro `dtor` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/parse.rs:395:15
[INFO] [stdout]     |
[INFO] [stdout] 395 |             #[unsafe(link_section =) $link_section]
[INFO] [stdout]     |               +++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/example.rs:33:42
[INFO] [stdout]     |
[INFO] [stdout]  33 | #[cfg_attr(not(target_vendor = "apple"), dtor(unsafe, method = linker, link_section = ".dtors", crate_path = ::dtor))]
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::__dtor_parse_impl` which comes from the expansion of the attribute macro `dtor` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]    --> src/parse.rs:395:15
[INFO] [stdout]     |
[INFO] [stdout] 395 |             #[unsafe(link_section =) $link_section]
[INFO] [stdout]     |               +++++++              +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dtor` (example "dtor-example") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "348ec8b93124bf4151a8c1b9011ac465ad2f92f2148fd6d99962cc96c13cd057", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "348ec8b93124bf4151a8c1b9011ac465ad2f92f2148fd6d99962cc96c13cd057", kill_on_drop: false }`
[INFO] [stdout] 348ec8b93124bf4151a8c1b9011ac465ad2f92f2148fd6d99962cc96c13cd057
